GtkPopover: Add gtk_popover_popdown/popup
authorTimm Bäder <mail@baedert.org>
Wed, 10 Aug 2016 16:28:14 +0000 (18:28 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 16 Aug 2016 15:49:26 +0000 (11:49 -0400)
commit1f7b6c1d6f822ee660b8cca3b08a2bcc1c48b359
tree2229d03fb83b077563eaab550022e164febed81d
parenta782d632f8cf768a2df819fc38df9e6d1fb92f3e
GtkPopover: Add gtk_popover_popdown/popup

Since not chaining up in gtk_widget_show/gtk_widget_hide is not allowed,
we can't just implicitly delay the hiding in GtkPopover's hide
implementation. Fix this by introducing gtk_popover_popup() and
gtk_popover_popdown() to show or hide a popover with transition and
revert GtkPopover's show/hide implementation to apply their effect
without the transition.

https://bugzilla.gnome.org/show_bug.cgi?id=769706
docs/reference/gtk/gtk3-sections.txt
gtk/gtkpopover.c
gtk/gtkpopover.h